﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Mapping" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Mapping" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="Mapping" msprop:Generator_UserDSName="Mapping">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="TableMapping" msprop:Generator_TableClassName="TableMappingDataTable" msprop:Generator_TableVarName="tableTableMapping" msprop:Generator_TablePropName="TableMapping" msprop:Generator_RowDeletingName="TableMappingRowDeleting" msprop:Generator_UserTableName="TableMapping" msprop:Generator_RowChangingName="TableMappingRowChanging" msprop:Generator_RowEvHandlerName="TableMappingRowChangeEventHandler" msprop:Generator_RowDeletedName="TableMappingRowDeleted" msprop:Generator_RowEvArgName="TableMappingRowChangeEvent" msprop:Generator_RowChangedName="TableMappingRowChanged" msprop:Generator_RowClassName="TableMappingRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
              <xs:element name="Source" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="Source" msprop:Generator_ColumnVarNameInTable="columnSource" msprop:Generator_ColumnPropNameInTable="SourceColumn" msprop:Generator_UserColumnName="Source" type="xs:string" minOccurs="0" />
              <xs:element name="Destination" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="Destination" msprop:Generator_ColumnVarNameInTable="columnDestination" msprop:Generator_ColumnPropNameInTable="DestinationColumn" msprop:Generator_UserColumnName="Destination" type="xs:string" minOccurs="0" />
              <xs:element name="Mode" msdata:DataType="SqliteLoader.TableMode, SqliteLoader, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" msprop:Generator_ColumnVarNameInTable="columnMode" msprop:Generator_ColumnPropNameInRow="Mode" msprop:Generator_ColumnPropNameInTable="ModeColumn" msprop:Generator_UserColumnName="Mode" type="xs:anyType" />
              <xs:element name="SourceFilename" msprop:Generator_ColumnVarNameInTable="columnSourceFilename" msprop:Generator_ColumnPropNameInRow="SourceFilename" msprop:Generator_ColumnPropNameInTable="SourceFilenameColumn" msprop:Generator_UserColumnName="SourceFilename" type="xs:string" minOccurs="0" />
              <xs:element name="ColumnMapping" msprop:Generator_TableClassName="ColumnMappingDataTable" msprop:Generator_TableVarName="tableColumnMapping" msprop:Generator_TablePropName="ColumnMapping" msprop:Generator_RowDeletingName="ColumnMappingRowDeleting" msprop:Generator_UserTableName="ColumnMapping" msprop:Generator_RowChangingName="ColumnMappingRowChanging" msprop:Generator_RowEvHandlerName="ColumnMappingRowChangeEventHandler" msprop:Generator_RowDeletedName="ColumnMappingRowDeleted" msprop:Generator_RowEvArgName="ColumnMappingRowChangeEvent" msprop:Generator_RowChangedName="ColumnMappingRowChanged" msprop:Generator_RowClassName="ColumnMappingRow" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
                    <xs:element name="Source" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="Source" msprop:Generator_ColumnVarNameInTable="columnSource" msprop:Generator_ColumnPropNameInTable="SourceColumn" msprop:Generator_UserColumnName="Source" type="xs:string" minOccurs="0" />
                    <xs:element name="Destination" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="Destination" msprop:Generator_ColumnVarNameInTable="columnDestination" msprop:Generator_ColumnPropNameInTable="DestinationColumn" msprop:Generator_UserColumnName="Destination" type="xs:string" minOccurs="0" />
                    <xs:element name="TableMappingId" msprop:Generator_ColumnVarNameInTable="columnTableMappingId" msprop:Generator_ColumnPropNameInRow="TableMappingId" msprop:Generator_ColumnPropNameInTable="TableMappingIdColumn" msprop:Generator_UserColumnName="TableMappingId" type="xs:int" minOccurs="0" />
                    <xs:element name="ColumnId" msprop:Generator_ColumnVarNameInTable="columnColumnId" msprop:Generator_ColumnPropNameInRow="ColumnId" msprop:Generator_ColumnPropNameInTable="ColumnIdColumn" msprop:Generator_UserColumnName="ColumnId" type="xs:int" minOccurs="0" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TableDef" msprop:Generator_TableClassName="TableDefDataTable" msprop:Generator_TableVarName="tableTableDef" msprop:Generator_TablePropName="TableDef" msprop:Generator_RowDeletingName="TableDefRowDeleting" msprop:Generator_UserTableName="TableDef" msprop:Generator_RowChangingName="TableDefRowChanging" msprop:Generator_RowEvHandlerName="TableDefRowChangeEventHandler" msprop:Generator_RowDeletedName="TableDefRowDeleted" msprop:Generator_RowEvArgName="TableDefRowChangeEvent" msprop:Generator_RowChangedName="TableDefRowChanged" msprop:Generator_RowClassName="TableDefRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
              <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" type="xs:string" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ColumnDef" msprop:Generator_TableClassName="ColumnDefDataTable" msprop:Generator_TableVarName="tableColumnDef" msprop:Generator_TablePropName="ColumnDef" msprop:Generator_RowDeletingName="ColumnDefRowDeleting" msprop:Generator_UserTableName="ColumnDef" msprop:Generator_RowChangingName="ColumnDefRowChanging" msprop:Generator_RowEvHandlerName="ColumnDefRowChangeEventHandler" msprop:Generator_RowDeletedName="ColumnDefRowDeleted" msprop:Generator_RowEvArgName="ColumnDefRowChangeEvent" msprop:Generator_RowChangedName="ColumnDefRowChanged" msprop:Generator_RowClassName="ColumnDefRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
              <xs:element name="TableId" msdata:Caption="TableName" msprop:Generator_ColumnVarNameInTable="columnTableId" msprop:Generator_ColumnPropNameInRow="TableId" msprop:Generator_ColumnPropNameInTable="TableIdColumn" msprop:Generator_UserColumnName="TableId" type="xs:int" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" type="xs:string" minOccurs="0" />
              <xs:element name="DataType" msprop:Generator_ColumnVarNameInTable="columnDataType" msprop:Generator_ColumnPropNameInRow="DataType" msprop:Generator_ColumnPropNameInTable="DataTypeColumn" msprop:Generator_UserColumnName="DataType" type="xs:string" minOccurs="0" />
              <xs:element name="Unique" msprop:Generator_ColumnVarNameInTable="columnUnique" msprop:Generator_ColumnPropNameInRow="Unique" msprop:Generator_ColumnPropNameInTable="UniqueColumn" msprop:Generator_UserColumnName="Unique" type="xs:boolean" default="false" minOccurs="0" />
              <xs:element name="Nullable" msprop:Generator_ColumnVarNameInTable="columnNullable" msprop:Generator_ColumnPropNameInRow="Nullable" msprop:Generator_ColumnPropNameInTable="NullableColumn" msprop:Generator_UserColumnName="Nullable" type="xs:boolean" default="false" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="ColumnMapping_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ColumnMapping" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TableMapping" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="TableDef_Constraint1" msdata:ConstraintName="Constraint1">
      <xs:selector xpath=".//mstns:TableDef" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="Constraint2" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TableDef" />
      <xs:field xpath="mstns:Name" />
    </xs:unique>
    <xs:unique name="Constraint3">
      <xs:selector xpath=".//mstns:ColumnDef" />
      <xs:field xpath="mstns:TableId" />
      <xs:field xpath="mstns:Name" />
    </xs:unique>
    <xs:unique name="ColumnDef_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ColumnDef" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:keyref name="FK_TableDef_ColumnDef" refer="TableDef_Constraint1" msprop:rel_Generator_UserChildTable="ColumnDef" msprop:rel_Generator_ChildPropName="GetColumnDefRows" msprop:rel_Generator_ParentPropName="TableDefRow" msprop:rel_Generator_UserRelationName="FK_TableDef_ColumnDef" msprop:rel_Generator_RelationVarName="relationFK_TableDef_ColumnDef" msprop:rel_Generator_UserParentTable="TableDef">
      <xs:selector xpath=".//mstns:ColumnDef" />
      <xs:field xpath="mstns:TableId" />
    </xs:keyref>
    <xs:keyref name="FK_DestinationTables_TableMapping" refer="Constraint2" msprop:rel_Generator_UserChildTable="TableMapping" msprop:rel_Generator_ChildPropName="GetTableMappingRows" msprop:rel_Generator_ParentPropName="TableDefRow" msprop:rel_Generator_UserRelationName="FK_DestinationTables_TableMapping" msprop:rel_Generator_RelationVarName="relationFK_DestinationTables_TableMapping" msprop:rel_Generator_UserParentTable="TableDef">
      <xs:selector xpath=".//mstns:TableMapping" />
      <xs:field xpath="mstns:Destination" />
    </xs:keyref>
    <xs:keyref name="FK_TableMapping_ColumnMapping1" refer="ColumnDef_Constraint1" msprop:rel_Generator_UserChildTable="ColumnMapping" msprop:rel_Generator_ChildPropName="GetColumnMappingRows" msprop:rel_Generator_ParentPropName="ColumnDefRow" msprop:rel_Generator_UserRelationName="FK_TableMapping_ColumnMapping1" msprop:rel_Generator_RelationVarName="relationFK_TableMapping_ColumnMapping1" msprop:rel_Generator_UserParentTable="ColumnDef">
      <xs:selector xpath=".//mstns:ColumnMapping" />
      <xs:field xpath="mstns:ColumnId" />
    </xs:keyref>
    <xs:keyref name="FK_TableMapping_ColumnMapping" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserChildTable="ColumnMapping" msprop:rel_Generator_ChildPropName="GetColumnMappingRows" msprop:rel_Generator_ParentPropName="TableMappingRow" msprop:rel_Generator_UserRelationName="FK_TableMapping_ColumnMapping" msprop:rel_Generator_RelationVarName="relationFK_TableMapping_ColumnMapping" msprop:rel_Generator_UserParentTable="TableMapping">
      <xs:selector xpath=".//mstns:ColumnMapping" />
      <xs:field xpath="mstns:TableMappingId" />
    </xs:keyref>
  </xs:element>
</xs:schema>